import Layout from '@/layout/layoutIndex'

export default {
  path: '/ManageBaseInfo',
  component: Layout,
  name: 'ManageBaseInfo',
  children: [
    {
      path: 'WareHouse',
      component: () => import('@/views/ManageBaseInfo/WareHouse'),
      name: 'WareHouse',
      meta: { title: '仓库管理', toPath: '/ManageBaseInfo/WareHouse' }
    },
    {
      path: 'WareHouse/details/:id',
      component: () => import('@/views/ManageBaseInfo/WareHouse/WareHouseDetails'),
      meta: { title: '更新仓库', toPath: '/ManageBaseInfo/WareHouse/details/null' }
    },
    {
      path: 'WareArea',
      component: () => import('@/views/ManageBaseInfo/WareArea'),
      name: 'WareArea',
      meta: { title: '库区管理', toPath: '/ManageBaseInfo/WareArea' }
    },
    {
      path: 'WareArea/details/:id',
      component: () => import('@/views/ManageBaseInfo/WareArea/WareAreaDetails'),
      name: 'WareAreaDetails',
      meta: { title: '更新库区', toPath: '/ManageBaseInfo/WareArea/details/null' }
    },
    {
      path: 'WareLocation',
      component: () => import('@/views/ManageBaseInfo/WareLocation'),
      name: 'WareLocation',
      meta: { title: '库位管理', toPath: '/ManageBaseInfo/WareLocation' }
    },
    {
      path: 'WareLocation/details/:id',
      component: () => import('@/views/ManageBaseInfo/WareLocation/WareLocationDetails'),
      name: 'WareLocationDetails',
      meta: { title: '更新库位', toPath: '/ManageBaseInfo/WareLocation/details/null' }
    },
    {
      path: 'LocationView',
      component: () => import('@/views/ManageBaseInfo/LocationView'),
      name: 'LocationView',
      meta: { title: '库位视图', toPath: '/ManageBaseInfo/LocationView' }
    },
    {
      path: 'WareGoods',
      component: () => import('@/views/ManageBaseInfo/WareGoods'),
      name: 'WareGoods',
      meta: { title: '货品管理', toPath: '/ManageBaseInfo/WareGoods' }
    },
    {
      path: 'GoodsType',
      component: () => import('@/views/ManageBaseInfo/GoodsType'),
      name: 'GoodsType',
      meta: { title: '货品类型管理', toPath: '/ManageBaseInfo/GoodsType' }
    }
  ]
}
